﻿using System.ComponentModel.DataAnnotations;

namespace Tanmia.Warehouse.Core
{
    partial class ItemCategory
    {
        public virtual bool IsSelected { get; set; }

        [Display(ShortName = "التابع", Order = 1, AutoGenerateField = true)]
        public virtual string ParentName
        {
            get { return Parent == null ? HeadName : Parent.Name; }
        }
    }
}
